package com.hmall.service;



import com.hmall.common.dto.PageDTO;
import com.hmall.pojo.ItemDoc;
import com.hmall.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface ItemSearchService {
    PageDTO<ItemDoc> searchPage(RequestParams requestParams);

    Map<String, List<String>> filters(RequestParams requestParams);

    List<String> getSuggestion(String prefix);

    void updateById(Long id);

    void deleteById(Long id);
}
